public class ComplexDemo {
    // main方法
    public static void main(String[] a) {
        Complex b = new Complex(-2, 5);
        Complex c = new Complex(3, -4);
        System.out.println(b + "+" + c + "=" + b.add(c));
        System.out.println(b + "-" + c + "=" + b.minus(c));
        System.out.println(b + "*" + c + "=" + b.multiply(c));
        System.out.println(b + "/" + c + "=" + b.divide(c));
    }
}
